package com.ruoyi.rescue.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 救援任务对象 cf_rescue
 * 
 * @author ruoyi
 * @date 2024-08-15
 */
public class CfRescue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long rescueId;

    /** 用户ID */
    private Long userId;

    /** 求助人 */
    @Excel(name = "求助人")
    private String name;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 救援类型 */
    @Excel(name = "救援类型")
    private Long rtId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNum;

    /** 救援位置 */
    @Excel(name = "救援位置")
    private String position;

    /** 终点位置 */
    @Excel(name = "终点位置")
    private String positions;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicationTime;

    /** 求助信息描述 */
    private String description;

    /** 删除状态 */
    private Long deleted;

    /** 订单编号 */
    private Long orderNumber;

    /** 服务内容 */
    private String service;

    /** 评价时间 */
    private Date evaluationTime;

    /** 评价星级 */
    private String star;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String state;

    public void setRescueId(Long rescueId) 
    {
        this.rescueId = rescueId;
    }

    public Long getRescueId() 
    {
        return rescueId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setRtId(Long rtId) 
    {
        this.rtId = rtId;
    }

    public Long getRtId() 
    {
        return rtId;
    }
    public void setCarNum(String carNum) 
    {
        this.carNum = carNum;
    }

    public String getCarNum() 
    {
        return carNum;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setPositions(String positions) 
    {
        this.positions = positions;
    }

    public String getPositions() 
    {
        return positions;
    }
    public void setApplicationTime(Date applicationTime) 
    {
        this.applicationTime = applicationTime;
    }

    public Date getApplicationTime() 
    {
        return applicationTime;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }
    public void setOrderNumber(Long orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public Long getOrderNumber() 
    {
        return orderNumber;
    }
    public void setService(String service) 
    {
        this.service = service;
    }

    public String getService() 
    {
        return service;
    }
    public void setEvaluationTime(Date evaluationTime) 
    {
        this.evaluationTime = evaluationTime;
    }

    public Date getEvaluationTime() 
    {
        return evaluationTime;
    }
    public void setStar(String star) 
    {
        this.star = star;
    }

    public String getStar() 
    {
        return star;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rescueId", getRescueId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("rtId", getRtId())
            .append("carNum", getCarNum())
            .append("position", getPosition())
            .append("positions", getPositions())
            .append("applicationTime", getApplicationTime())
            .append("description", getDescription())
            .append("deleted", getDeleted())
            .append("orderNumber", getOrderNumber())
            .append("service", getService())
            .append("evaluationTime", getEvaluationTime())
            .append("star", getStar())
            .append("state", getState())
            .toString();
    }
}
